<div class="panel-header"><i/>我的业务状态
    <div more-link="more.link" ng-if="more&&more.enabled!==false">{{more.text||'更多'}}</div>
    <div style="float: right">
        <span ng-repeat="type in types"
              ng-click="changeType($index)"
              ng-class="{'current-on':types.currentOn==$index}"
              style="padding: 2px 4px; cursor:pointer">{{type.name}}</span>
    </div>
</div>
<div class="panel-content">
    <table class="pure-table">
        <thead>
        <tr>
            <th title="业务名称">业务名称</th>
            <th title="厂商">厂商</th>
            <th title="用途">用途</th>
            <th title="严重/重要/一般">严重/重要/一般</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="r in rows|limitTo:7">
            <td title="{{r.RES_NAME}}">
                <a href="javascript:void(0);" onclick="return false;" ng-click="openIntegrateView(r)">
                    {{r.RES_NAME}}
                </a>
            </td>
            <td title="{{r.RES_PROVIDER}}">{{r.RES_PROVIDER}}</td>
            <td title="{{r.RES_USAGE}}">{{r.RES_USAGE}}</td>
            <td title="{{r.EVENT_COUNT1||0}} / {{r.EVENT_COUNT3||0}} / {{r.EVENT_COUNT3||0}}">
                <a href="javascript:void(0);" onclick="return false;" ng-click="openAalrmView(r)">
                    <b style="color: #DD4444;">{{r.EVENT_COUNT1||0}}</b> /
                    <b style="color: #FF7F50;">{{r.EVENT_COUNT2||0}}</b> /
                    <b style="color: #0078E7;">{{r.EVENT_COUNT3||0}}</b>
                </a>
            </td>
        </tr>
        </tbody>
    </table>
</div>